fix: limit bun flag to prisma init - #7976
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
✅ Files skipped from review due to trivial changes (1)
WalkthroughFour ChangesBun Command Normalization
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Comment |
🍈 Lychee Link Check Report55 links: ✅ All links are working!Full Statistics Table
|
|
The latest updates on your projects. Learn more about Argos notifications ↗︎
|
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@apps/docs/content/docs/guides/deployment/bun-workspaces.mdx`:
- Around line 260-262: The Next.js workspace setup example uses the npm
forwarding form with unnecessary extra args, which can break Bun flag
passthrough. Update the example in the bun-workspaces guide to use bun create
next-app@latest web --yes directly, so the command matches Bun’s expected CLI
behavior and avoids the extra -- --yes forwarding. Keep the change scoped to the
setup snippet in the bun-workspaces documentation.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: 07ff4d27-90b4-42c3-bb01-ecc4bc22575f
📒 Files selected for processing (10)
apps/blog/source.config.tsapps/docs/content/docs/guides/deployment/bun-workspaces.mdxapps/docs/content/docs/guides/frameworks/elysia.mdxapps/docs/content/docs/guides/runtimes/bun.mdxapps/docs/content/docs/orm/reference/prisma-config-reference.mdxapps/docs/content/docs/orm/v6/reference/prisma-config-reference.mdxapps/docs/content/docs/orm/v6/tools/prisma-cli.mdxapps/docs/source.config.tsapps/eclipse/source.config.tsapps/site/source.config.ts
Summary
--bunis only added forprisma initcommands.bunx prisma ....npmpackage-manager fences so tabs render consistently.Validation
pnpm --filter docs types:checkpnpm exec oxfmt --check apps/site/source.config.ts apps/blog/source.config.ts apps/docs/source.config.ts apps/eclipse/source.config.tsprisma init,generate,migrate,db seed, andstudiobunx --bun prismausagesSummary by CodeRabbit